package cn.cn.duotai4.java;

public class ShapeTest {
    public static void main(String[] args) {
        Circle circle=new Circle(1.5);
        Rectangle rectangle= new Rectangle(99,100);
        System.out.println("圆的面积:"+circle.getArea());
        System.out.println("长方形的面积:"+rectangle.getArea());
    }
}
